import axios from '../../utils/request'

function login(body) {
    // /list?id=1
    return axios.post('/login', body)
}

function register(body){
    return axios.post('/register', body)
}


export default {
    login,
    register
}